package com.atfusu.service;

import com.atfusu.base.BaseService;
import com.atfusu.bean.entity.Role;

import java.util.Map;

/**
 * Title:
 * Author: fusu
 * DateTime:  2022/11/24
 * Description:
 **/
public interface RoleService extends BaseService<Role> {

    Map<String, Object> findRoleByAdminId(Long adminId);

    /**
     * 将对应关系存储到数据库
     */
    void saveAdminRoleRelationship(Long adminId, Long[] roleIds);
}
